/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dale2507.gates.gate.comparator;

import dale2507.gates.gate.Gate;

/**
 *
 * @author Dale
 */
public interface IGateComparator {
    
    /**
     * Checks if a gate contains the object. This method is overriden to check a specific gate element.
     * @param g Gate to check for the object
     * @param item Object to check for in the gate
     * @return true if the object is part of the gate, false otherwise
     */
    boolean check(Gate g, Object item);
    
}
